<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改活动报名')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-actentry-edit" th:object="${actentry}">
            <input name="actentryId" th:field="*{actentryId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">报名的活动id：</label>
                <div class="col-sm-8">
                    <input name="actentryActid" th:field="*{actentryActid}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">报名活动门票名称：</label>
                <div class="col-sm-8">
                    <input name="actentryTicketname" th:field="*{actentryTicketname}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">活动购买数量：</label>
                <div class="col-sm-8">
                    <input name="actentryTicketnumber" th:field="*{actentryTicketnumber}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">报名人姓名：</label>
                <div class="col-sm-8">
                    <input name="actentryName" th:field="*{actentryName}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">报名人手机号：</label>
                <div class="col-sm-8">
                    <input name="actentryPhone" th:field="*{actentryPhone}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">报名优惠券：</label>
                <div class="col-sm-8">
                    <input name="actentryCoupon" th:field="*{actentryCoupon}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">报名优惠码：</label>
                <div class="col-sm-8">
                    <input name="actentryCouponcode" th:field="*{actentryCouponcode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">活动报名标记 (1:报名有效，0:报名无效)：</label>
                <div class="col-sm-8">
                    <input name="actentryStatus" th:field="*{actentryStatus}" class="form-control" type="text" required>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/actentry";
        $("#form-actentry-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-actentry-edit').serialize());
            }
        }
    </script>
</body>
</html>